package pingan.com.imandtwo.beans;

import java.util.List;

/**
 * Created by xsj on 2018/2/5.
 * 轮播图的bean
 */

public class BannerBean {

    /**
     * result : [{"id":1,"image":"http://n.sinaimg.cn/sinacn/w600h450/20180125/7915-","value":"http://domestic.firefox.sina.com/"},{"id":2,"image":"http://n.sinaimg.cn/tech/crawl/w550h366/20180130/P","value":"http://domestic.firefox.sina.com/"},{"id":3,"image":"http://n.sinaimg.cn/tech/crawl/w550h419/20180129/V","value":"http://domestic.firefox.sina.com/"},{"id":4,"image":"http://n.sinaimg.cn/tech/crawl/w550h366/20180130/Q","value":"http://domestic.firefox.sina.com/"},{"id":5,"image":"http://n.sinaimg.cn/sinacn/w545h301/20180125/a045-","value":"http://domestic.firefox.sina.com/"}]
     * message : 查询成功
     * status : 0000
     */

    private String message;
    private String status;
    private List<ResultBean> result;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 1
         * image : http://n.sinaimg.cn/sinacn/w600h450/20180125/7915-
         * value : http://domestic.firefox.sina.com/
         */

        private int id;
        private String image;
        private String value;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
